cmake_minimum_required(VERSION 3.1)
project(inireader)


set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")


add_library(inireader inireader.cpp)


add_executable(example inireader_example.cc)
target_link_libraries(example inireader)